import { ALL_COMPLETION_AVAILABLE_BLOCKS } from '../../constants'
import { LoopStartNodeType } from './types'

export const getLoopStartDefaultParams = () => {
  return {
    inputList: [
      {
      }
    ],
    outputList: [
      {

      }
    ],
  }
}

export default {
  getAvailablePrevNodes() {
    return []
  },

  getAvailableNextNodes() {
    // 迭代器节点可以连接所有节点
    return ALL_COMPLETION_AVAILABLE_BLOCKS
  },

  // 检查节点是否有效
  checkValid: (payload: LoopStartNodeType) => {
    return true
  },

}